#ifndef PALINDROMO_H_
#define PALINDROMO_H_

#include <string>

#include "./pilha.hpp"


class palindrom
{
public:

	palindrom();
	
	palindrom(  std::string &);
	
	palindrom( char* );
	
	~palindrom();
	
	void
	setWord ( std::string &);

	void
	setWord ( const char* );

	const bool
	isPalindrom();

protected:
	
	const bool
	compareStr();
	
private:
	
	pilha<char>*
	wordPilha;
	
	std::string
	word;
};

#endif /*PALINDROMO_H_*/
